<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex flex-wrap align-center justify-between benben-position-layout flex balanceAvailable_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-center balanceAvailable_fd0_0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <image class='balanceAvailable_fd0_0_c0'  mode="aspectFit"  :src='STATIC_URL+"39.png"'></image>
</view>
<text class='balanceAvailable_fd0_1'  >余额</text>
    <view   class='flex flex-wrap align-center balanceAvailable_fd0_0'      >
        </view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---flex布局flex布局开始-->
 <view class="flex flex-direction flex-wrap align-center benben-flex-layout"    >
        <image class='balanceAvailable_fd1_0'  mode="aspectFit"  :src='STATIC_URL+"92.png"'></image>
<text class='balanceAvailable_fd1_1'  >我的余额</text>
    <view   class='flex flex-wrap align-center'      >
        <text class='balanceAvailable_fd1_2_c0'  >￥</text>
<text class=' balanceAvailable_fd1_2_c1'   >
    <text class=' balanceAvailable_price1_fd1_2_c1' >{{ dataMessage.user_money | frontPrice('万') }}</text>
    <text class=' balanceAvailable_price1_fd1_2_c1' >{{ dataMessage.user_money | laterPrice('万') }}</text>
</text>
</view>
<button class='balanceAvailable_fd1_3'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/qbgl/recharge/recharge`"  >充值</button>
</view>
        
<!---flex布局flex布局结束-->
    
    
        </view>
    </view>
</template>
<script>
    import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        
        
        data(){
			return {"dataMessage":{"aid":"","user_money":"","freeze_money":"","total_consumption_money":"","total_consumption_virtual_money":"","total_revenue_money":"","total_revenue_virtual_money":"","empirical":"","score":"","count_score":"","commission":"","total_order_commission_money":"","withdrawal_money":"","share_money":"","discounts_money":"","create_time":"","user_id":""}};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            this.getMoneyFunc()
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //钱包-钱包主页
                async getMoneyFunc(){
                        //请求方法
    //数据验证
    
  let datadataMessage = await this.$api.get(global.apiUrls.post636d04052bb00, {
    
  });
  
  if (datadataMessage.data.code != 1) {
    this.$message.info(datadataMessage.data.msg);
    return
  } 
  let infodataMessage = datadataMessage.data;
  this.dataMessage = infodataMessage.data
  
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#fff;background-size: 100% auto;
        }
    .balanceAvailable_flex_0{
        background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .balanceAvailable_fd0_1{
        color:#333333;font-size:36rpx;font-weight:500;line-height:50rpx;
    }
    .balanceAvailable_fd0_0_c0{
        width:20rpx;height:36rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 0rpx 0rpx 32rpx;
    }
    .balanceAvailable_fd0_0{
        width:100rpx;height:88rpx;
    }
    .balanceAvailable_fd1_3{
        background:var(--benbenbgColor2);border-radius:16rpx 16rpx 16rpx 16rpx;font-size:32rpx;color:#fff;width:400rpx;height:88rpx;line-height:88rpx;margin:269rpx 0rpx 0rpx 0rpx;
    }
    .balanceAvailable_price1_fd1_2_c1{
        font-size:64rpx;
    }
    .balanceAvailable_fd1_2_c1{
        color:#333;font-weight:600;
    }
    .balanceAvailable_fd1_2_c0{
        color:#333333;font-size:32rpx;font-weight:700;line-height:36rpx;
    }
    .balanceAvailable_fd1_1{
        color:#333333;font-size:28rpx;font-weight:400;line-height:40rpx;margin:56rpx 0rpx 24rpx 0rpx;
    }
    .balanceAvailable_fd1_0{
        width:108rpx;height:108rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:170rpx 0rpx 0rpx 0rpx;
    }
</style>